/*
 * imx8-windows.h
 *
 *  Created on: 2024年3月12日
 *      Author: NI
 */

#ifndef TEST_TP2855_IMX8_WINDOWS_IMX8_WINDOWS_H_
#define TEST_TP2855_IMX8_WINDOWS_IMX8_WINDOWS_H_
#include <screen/screen.h>

typedef struct{
	screen_context_t * screen_ctx;
	screen_window_t screen_win;
	int display;
	int index;
	int pos[2];
	int size[2];
	int pipeline;
	int format;
	int flip;
	int mirror;
	int rotation;
	int buffer_size[2];
	int zorder;
	int transparency;//透明度
	char id_string[20];
	int visit;
	int num_buffers;

	int render_buffer_count;
	screen_buffer_t * render_buffers;
	int stride;
	void ** pointers;
}screen_windows_dev_t;

extern int initWin(screen_windows_dev_t * win_dev, int index);

#endif /* TEST_TP2855_IMX8_WINDOWS_IMX8_WINDOWS_H_ */
